package cn.hospital.dao;

import cn.hospital.entity.MedicalInformation;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface MedicalInformationMapper {
    int deleteByPrimaryKey(Integer medicalInformationId);

    int insert(MedicalInformation record);

    /**
     * 用药信息表
     *
     * @param medicalInformation
     * @return
     */
    int insertSelective(MedicalInformation medicalInformation);

    MedicalInformation selectByPrimaryKey(Integer medicalInformationId);

    int updateByPrimaryKeySelective(MedicalInformation record);

    int updateByPrimaryKey(MedicalInformation record);
}